package com.yonyou.gmmc.service.wechatpush.dao;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.service.wechatpush.annotation.OracleDb;
import com.yonyou.gmmc.service.wechatpush.model.TmPotentialUser;

import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TmPotentialUserMapper extends Mapper<TmPotentialUser> {

    TmPotentialUser queryUserOpenId(@Param("userId") String userId);
    
    TmPotentialUser queryUserOpenIdByOwnerId(@Param("userId") String userId);

    String selectUserIdByOpenId(@Param("openId") String openId);
}